from pyecharts.charts import Line
from pyecharts.options import TitleOpts
line = Line()
line.add_xaxis(['英国 ', '中国', '美国'])
line.add_yaxis('GDP', [10, 100, 30])
line.set_global_opts(title_opts='GDP展示')
line.render()